/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: jse2204 - C4Demo
 * <p>Powered by webrx On 2022-09-07 11:03:31
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class C4Demo {
    public static void main(String[] args) {
        //System.out.println(C4.age);

        //C4 类  a 是 变量 对象 实例 C4类的实例 new C4() 实例化
        C4 a = new C4();
        //a.setName("张三丰");
        //System.out.println(a.getName());
        System.out.println(a.age);
        a.age = 88;



        a.money = 10;


        System.out.println(a.age);


        C4 b = new C4();
        b.age = 99;
        System.out.println(b.age);
        System.out.println(a.age);


        C4.age = 100;
        System.out.println(a.age);
        System.out.println(b.age);

        //b.setName("李丽");
        //System.out.println(b.getName());
        //System.out.println(a.getName());

        //C4 c = new C4();
        //c.setName("张三丰");
        //System.out.println(c.id);
        //System.out.println(c.birth);
        //System.out.println(c.addrs);
        //System.out.println(c.money);
        //System.out.println(c.getName());

    }
}
